package com.fs.controller.vo.shop;

import com.fs.service.bo.shop.BoShop;
import lombok.Data;

@Data
public class RespShop {
    private Integer id;
    private String name;
    private Double longitude;
    private Double latitude;

    public RespShop(BoShop shop) {
        id = shop.getId();
        name = shop.getName();
        longitude = shop.getLongitude();
        latitude = shop.getLatitude();
    }
}
